<template>
  <el-table
    :data="tableData"
    fit
    style="width: 100%;">
    <el-table-column
      width="45">
      <template slot-scope="scope">
        <i class="el-icon-warning"></i>
        <span style="margin-left: 10px">{{ scope.row.date }}</span>
      </template>
    </el-table-column>
    <el-table-column prop="loophole_name" label="漏洞名称">
        </el-table-column>
        <el-table-column prop="url" label="URL">
        </el-table-column>
        <el-table-column prop="parameter" label="参数" width="150">
        </el-table-column>
        <el-table-column prop="state" label="状态" width="100">
        </el-table-column>
  </el-table>
</template>

<script>
  export default {
    data() {
      return {
        tableData: [{
          loophole_name: 'Application error message',
          url: ' http://192.168.124.57:8080/',
          parameter: 'car_number',
          state:'off'
        }, {
          loophole_name: 'Application error message',
          url: ' http://192.168.124.57:8080/',
          parameter: 'car_number',
          state:'off'
        }, {
          loophole_name: 'Application error message',
          url: ' http://192.168.124.57:8080/',
          parameter: 'car_number',
          state:'off'
        }, {
          loophole_name: 'Application error message',
          url: ' http://192.168.124.57:8080/',
          parameter: 'car_number',
          state:'off'
        }]
      }
    }
  }
</script>